import { EnumProperty, IWidget } from "xcore/cmpnt"

const TextArea: IWidget = {
  cmpnt: "x-textarea",
  valueKey: "textarea",
  category: "widgets",
  props: {
    placeholder: "请输入",
    maxlength: 255,
    rows: 3,
    "show-word-limit": true,
    readonly: false,
    autofocus: true,
    clearable: true,
    disabled: false,
    style: {
      width: "120px",
    },
    class: [],
    bind: { properties: [EnumProperty.Removed] },
  },
  events: {
  },
  ctl: {
    icon: "iconfont te-i-textarea",
    name: "TextArea",
    group: "input",
    text: "多行文本",

  },
};
export { TextArea };
